import jade.core.handler as handler
import tornado.ioloop

application = tornado.web.Application([
    (r"/", handler.MainHandler),
    (r"/(\w+)/(\w+)/(\w+)/(\w+)", handler.CoreHandler),
])


if __name__ == "__main__":
    application.listen(8888)
    tornado.ioloop.IOLoop.instance().start()
    
